package ywpt.service.people;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.BsnssOptntInfo;;

public interface BsnssOptntInfoService {

	public abstract BsnssOptntInfo getBsnssOptntInfoById(Long id);

	public abstract int getBsnssOptntInfoCountByCriteria(DetachedCriteria query);

	public abstract List<BsnssOptntInfo> getBsnssOptntInfos(
			DetachedCriteria query, int pageSize, int startIndex);

	public abstract void saveBsnssOptntInfo(BsnssOptntInfo bsnssOptntInfo);

	public abstract void updateBsnssOptntInfo(BsnssOptntInfo bsnssOptntInfo);

	public abstract void removeBsnssOptntInfo(Long id);

	public abstract List<BsnssOptntInfo> getBsnssOptntInfos();

	public abstract List<BsnssOptntInfo> getBsnssOptntInfos(DetachedCriteria query);

	public abstract void saveBsnssOptntInfo(BsnssOptntInfo bsnssOptntInfo, Long clientId, Long chance_state);
	public abstract void updateBsnssOptntInfo(BsnssOptntInfo bsnssOptntInfo, Long clientId,Long chance_state);
}
